new Vue({
    el: '#app',
    data() {
        return {
            defaultImage:'',
            form:{
                ID_Name:'',
                Image:'',
            }
        }
    },
    mounted() {
        this.getData();
    },
    methods: {
        getData(){
            const that = this;
            $.ajax({
                headers: requestHeaders(),
                url: `${BASE_URL2}/generalBusiness/generalQueryByTableName`,
                type: 'POST',
                data: {
                    Data: 'base_system_user_info',
                    Condition:"User_Number='"+getCookie('user')+"'",
                },
                success: function (res) {
                    if (res.length == 1) {
                        that.form = res[0];
                    }
                },
                error: function () {
                    that.$message.error("操作失败，请稍后再试")
                },
                complete: function (XMLHttpRequest) {
                    that.loading = false
                    requestPretreatment(XMLHttpRequest);
                },
                dataType: "json"
            })
        }
    },
})